class AddPositionTypes < ActiveRecord::Migration
  def self.up
		Position.delete_all
	
	#pos=Position.new		#	to dziala
	#pos.positionid=3
	#pos.NAME="uww"
	#pos.save
		

		Position.create(:name => 'Student')  
		Position.create(:name => 'Academic')
		Position.create(:name => 'Secretary')
		Position.create(:name => 'Unknown')  

  end

  def self.down
		Position.delete_all  	
  end
end



#	pos=Position.new		#	to dziala
#	pos.positionid=3
#	pos.name="uww"
#	pos.save

#		Position.create(:id=>next_sequence_value("POSITIONS_SEQ"), :name => 'Student')  dziala
	